package model

type MaterielClasses struct {

	ID uint `gorm:"column:id;primary_key;AUTO_INCREMENT;"`         // set column name to `beast_id`
	MaterielCls string `gorm:"column:materiel_cls;size:10;primary_key"json:"materiel_cls"` // set column name to `day_of_the_beast`
	MterielTyp string `gorm:"column:materiel_type;size:20;primary_key"json:"materiel_type"` // set column name to `age_of_the_beast`
	Deletable uint `gorm:"DEFAULT:1"json:"deletable"`
}

func (M *MaterielClasses)TableName()string {
	return "materiel_classes"
}